package com.firmye.codereposboot.model.commons;


import lombok.Data;

import java.io.Serializable;

@Data
public class CustResponse implements Serializable {

	/**
	 * 100 成功
	 * 101 失败
	 */
	private Integer code;
	private String msg;
	private Object details;

	public CustResponse() {
		super();
	}

	/**
	 * @param code
	 * @param msg
	 */
	public CustResponse(Integer code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}

	/**
	 * @param code
	 * @param details
	 */
	public CustResponse(Integer code, Object details) {
		super();
		this.code = code;
		this.details = details;
	}

}
